package com.bckj.fastboot.iot.data.mongo.convert;

import com.bckj.fastboot.core.mapstruct.MapStructConfig;
import com.bckj.fastboot.iot.common.dto.request.IotDeviceStatusRecordRequest;
import com.bckj.fastboot.iot.data.mongo.entity.IotDeviceStatusRecord;
import org.mapstruct.Mapper;

/**
 * IotDeviceStatusRecordConvert
 *
 * @author wfc
 **/
@Mapper(config = MapStructConfig.class)
public interface IotDeviceStatusRecordConvert {

    IotDeviceStatusRecord toEntity(IotDeviceStatusRecordRequest request);
}
